export const state = () => ({
    baseUrl:'/bhtong',
})

export const mutations = {
    
}

export const getters = {

    webinfo:function(state){
        return {
            detail: state.baseUrl + '/webinfo/detail', //网站信息
            adlist: state.baseUrl + '/webinfo/adlist', //banner图
            computeprice: state.baseUrl + '/webinfo/computeprice.json',//费用计算
        }
    },

    client:function(state){
        return{
            uplogin: state.baseUrl + '/client/uplogin.json', //密码登录
            logout: state.baseUrl + '/client/logout.json', //退出
            sendcaptcha: state.baseUrl + '/client/sendcaptcha.json', //发送验证码
            mclogin: state.baseUrl + '/client/mclogin.json',//手机号登录
            loginQrCode: state.baseUrl + '/client/loginQrCode',//微信二维码
            loginQrCodeStatus: state.baseUrl + '/client/loginQrCodeStatus',
            openidLogin: state.baseUrl + '/client/openidLogin',
        }
    },


    commonreq:function(state){
        return {
            getdictinfo: state.baseUrl + '/commonreq/getdictinfo.json', //字典信息
            getbhgs: state.baseUrl + '/commonreq/getbhgs.json',
            bhbltd: state.baseUrl + '/commonreq//bhbltd.json', //获取保函是否开通
        }       
    },



}
